package com.grep.extra.dao;

import java.util.List;
import java.util.Map;

import com.grep.extra.factory.data.impl.TaskUrl;
import com.grep.web.dto.SiteTaskDto;
import com.grep.web.dto.TaskNumber;

/**
 * 
 * @author yuyue z_yuguangyue@boco.com.cn
 * 
 * version <br>
 *  
 * <br>
 *
 * Description: .站点任务与站点任务相关的表的DB操作封装
 * 
 *
 * CreateTime: Jan 12, 2012  4:56:42 PM
 *
 * Change History:
 *
 *        Date             CR Number              Name              Description of change
 *
 *
 */
public interface TaskDao {
	
	boolean insertTask(String insertTaskSQL);
	boolean insertTaskURLs(String taskId,List<String> taskURLS);
	boolean insertTaskURL(String taskId,String taskURL);
	
	List<TaskUrl> getTaskUrls();
	
	List<TaskUrl> getTaskUrlsBySiteId(String siteid);
	
	List<SiteTaskDto> getAllTasks();
	
	List<TaskNumber> getTaskNumbersById(String taskId, int count);
}
